package com.chpro.dubbo.demo1;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Provider {
	 
    public static void main(String[] args) throws Exception {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("provider.xml");
        context.start();
        System.out.println("按任意键退出");
        System.in.read(); // 按任意键退出
    }
 
}